/**
 * Free software.
 */

package org.nanhill.moo.service;

import org.nanhill.moo.domain.Cost;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2006-10-23
 */
public interface CostService {

	Cost load(int cid);

	/**
	 * 得到Cost[]，每个Cost包含Favor总数
	 * 
	 * @return
	 */
	Cost[] loadAllWithFavorCount();

	Cost[] loadAll();

}
